# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>

pkgname=perl-carp-clan
_realname=Carp-Clan
pkgver=6.06
pkgrel=4
pkgdesc='Report errors from perspective of caller of a "clan" of modules'
arch=('any')
license=('PerlArtistic')
url="http://search.cpan.org/dist/$_realname/"
depends=('perl')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/K/KE/KENTNL/$_realname-$pkgver.tar.gz")
md5sums=('c562a35c48f43665fab735cdc7fe3cb2')

build() {
  cd $_realname-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $_realname-$pkgver
  make install DESTDIR="$pkgdir"
}
